package Before826.work;

public class Dog {

    private String name;

    public void show1(String s){
        System.out.println("方法一");
    }
    public void show2(){
        System.out.println("方法二");
    }

    public Dog(){

    }
    public Dog(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

